package com.gouying.design.patterns.medior;
public class MediatorMain {

    public static void main(String[] args) {
        Tower tower = new Tower();
        Plane1 p1 = new Plane1(tower);
        Plane2 p2 = new Plane2(tower);

        p1.fly();

        p2.fly();
    }
}
